Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add methods (ilp payment method), remove references to connection #284

Merged
merged 21 commits into from
Sep 28, 2023

Conversation

mkurapov
Copy link
Contributor

@mkurapov mkurapov commented Sep 17, 2023

Changes proposed in this pull request

This change:

  • adds methods property to Incoming Payments (GET and POST responses), which contains a list of the possible payment methods that can pay into the incoming payment.
    • For now, it only supports the "ILP payment method" which is an object that returns the ilpAddress and sharedSecret needed to make an ILP payment between peers
  • adds method property to use during Quote creation (as well as quote GET response). Only supports ilp for now.
  • removes a few existing callouts to the ILP stream connection which are not necessary anymore

Questions:

  • Do we want "complete" and "list" incoming payment to return methods as well? I think no: it was the same behaviour we had for the ilpStreamConnection, we didn't not return it for completing and listing incoming payments

Context

Fixes #219

@changeset-bot
Copy link

changeset-bot bot commented Sep 17, 2023

🦋 Changeset detected

Latest commit: fffb846

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@interledger/open-payments Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Sep 22, 2023

Deploy Preview for openpayments-preview ready!

Name Link
🔨 Latest commit fffb846
🔍 Latest deploy log https://app.netlify.com/sites/openpayments-preview/deploys/6514521a5bd38300087b62cc
😎 Deploy Preview https://deploy-preview-284--openpayments-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mkurapov mkurapov changed the title feat: add methods, remove ilp connection feat: add methods (ilp payment method), remove references to connection Sep 27, 2023
@mkurapov mkurapov marked this pull request as ready for review September 27, 2023 15:55
@mkurapov mkurapov merged commit 73bd29c into main Sep 28, 2023
10 checks passed
@mkurapov mkurapov deleted the mk/219/methods branch September 28, 2023 16:10
mkurapov added a commit that referenced this pull request Sep 28, 2023
mkurapov added a commit that referenced this pull request Sep 28, 2023
mkurapov added a commit that referenced this pull request Sep 28, 2023
mkurapov added a commit that referenced this pull request Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace ilpStreamConnection with methods/transports
3 participants